package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
import org.springblade.modules.admin.vo.BuildingElevatorTemplateVO;

/**
    * 项目电梯关联模板
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_building_elevator_template")
public class BuildingElevatorTemplate extends TenantEntity {
    /**
     * 小区id
     */
    @TableField(value = "building_id")
    private Long buildingId;

    /**
     * 模板名称 栋/单元/梯
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 模板级数
     */
    @TableField(value = "`level`")
    private Integer level;

	@TableField(exist = false)
	private List<BuildingElevatorTemplateVO> templates;
}
